projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a385ca1
)
file chooser: Unify search mode leaving
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 28 Jan 2015 23:21:18 +0000
(18:21 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 28 Jan 2015 23:21:18 +0000
(18:21 -0500)
Make all ways to get out of search mode go through the same
code path, so we always populate the list.
gtk/gtkfilechooserwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechooserwidget.c
b/gtk/gtkfilechooserwidget.c
index 70aaf6924221af14cf39b685f4c783c0382b1006..d6c02025bf9eca6ad9b98887a50bfc1862384593 100644
(file)
--- a/
gtk/gtkfilechooserwidget.c
+++ b/
gtk/gtkfilechooserwidget.c
@@
-6271,7
+6271,7
@@
search_entry_activate_cb (GtkFileChooserWidget *impl)
static void
search_entry_stop_cb (GtkFileChooserWidget *impl)
{
-
operation_mode_set (impl, OPERATION_MODE_BROWSE
);
+
g_object_set (impl, "search-mode", FALSE, NULL
);
}
/* Hides the path bar and creates the search entry */